API Documentation
GltfMeshDecoder.h
1 // GltfMeshDecoder.h
3 //
5 
6 namespace nkGraphics
7 {
11  class GltfMeshDecoder final : public MeshDecoder
12  {
13  public :
14 
23 
27  virtual bool canDecode (const nkMemory::StringView& sources) override ;
31  virtual bool decode (const nkMemory::StringView& sources, Mesh* outMesh) override ;
32  } ;
33 }
nkGraphics::GltfMeshDecoder::decode
virtual bool decode(const nkMemory::StringView &sources, Mesh *outMesh) override
nkGraphics::GltfMeshDecoder
A decoder that can handle gltf mesh. Supported format is glb, aka binary gltf 2.
Definition: GltfMeshDecoder.h:12
nkGraphics::GltfMeshDecoder::canDecode
virtual bool canDecode(const nkMemory::StringView &sources) override
nkGraphics::GltfMeshDecoder::~GltfMeshDecoder
~GltfMeshDecoder()
nkGraphics::GltfMeshDecoder::GltfMeshDecoder
GltfMeshDecoder()
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::MeshDecoder
Base class for a mesh data decoder.
Definition: MeshDecoder.h:12
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Mesh
Holds information about a mesh. Used as a basis to render 3d models.
Definition: Mesh.h:15